<?php

class Component_Engine
{
    public function __construct()
    {
    }
    
    public function load($name, $args = null)
    {
        if(is_null($args))
        {
            return new $name;
        }else
        {
            return new $name($args);
        }
    }
}

?>